package com.rizzo.shell.intern;

import com.google.common.collect.ImmutableSet;
import com.rizzo.shell.intern.host.MysqlHost;
import org.springframework.shell.core.CommandMarker;
import org.springframework.shell.core.annotation.CliCommand;

import java.util.Set;
import java.util.logging.Logger;

public class MysqlCommands extends RizzoCommands implements CommandMarker {

    private static Logger logger = Logger.getLogger("com.rizzo.shell.intern.RedisCommands");

    private final Set<MysqlHost> mysqlHosts = ImmutableSet.of(
            new MysqlHost(1, "localhost", "3306", "rizzo", "RizzO", "rizzo_account", false));

    @CliCommand(value = "account:booleans", help = "Changes the disabled/expired/locked properties of an Account")
    public String execute() throws Exception {
        for (MysqlHost mysqlHost : mysqlHosts) {
            // TODO implement me
        }
        return "Changes done!\n";
    }


}
